package com.mh.dto.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * Date:2025/2/25
 * author:zmh
 * description: 账单过滤DTO
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BillFilterVo {

    private Integer accountBookId; // 账本ID

    private String month; // 月份

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private Integer ieType; // 收支类型

    private Integer accountType; // 账户类型
}
